package com.xu.design.impl;

import com.xu.design.IMenu;
import com.xu.design.ceiling.LevelOneCeiling;
import com.xu.design.ceiling.LevelTwoCeiling;
import com.xu.design.coat.DuluxCoat;
import com.xu.design.coat.LiBangCoat;
import com.xu.design.floor.ShengXiangFloor;
import com.xu.design.tile.DongPengTile;
import com.xu.design.tile.MarcoPoloTile;

import java.math.BigDecimal;

/**
 *
 * @author xudenghui
 * @create 2023-08-02 8:53
 **/
public class Builder {

    public IMenu levelOne(BigDecimal area){
        return  new DecorationPackageMenu(area,"豪华欧式")
                .appendCeiling(new LevelTwoCeiling())
                .appendCoat(new DuluxCoat())
                .appendFloor(new ShengXiangFloor());
    }

    public IMenu levelTwo(BigDecimal area){
        return  new DecorationPackageMenu(area,"轻奢田园")
                .appendCeiling(new LevelTwoCeiling())
                .appendCoat(new LiBangCoat())
                .appendFloor(new MarcoPoloTile());
    }

    public IMenu levelThree(BigDecimal area){
        return new DecorationPackageMenu(area, "现代简约")
                .appendCeiling(new LevelOneCeiling())   // 吊顶，二级顶
                .appendCoat(new LiBangCoat())           // 涂料，立邦
                .appendTile(new DongPengTile());        // 地砖，东鹏
    }


}
